﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace coffe
{
    internal class Whip : CondimentDecorator
    {
        public Whip(Beverage beverage) : base(beverage) { }

        public override string GetDescription()
        {
            return beverage.GetDescription() + "，奶泡";
        }

        public override int GetCost()
        {
            return beverage.GetCost() + 8;
        }
    }
}
